<div id="editProductSeckillModel" class="modal fade" role="dialog" aria-labelledby="exampleModalLabel"
  aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body">
        <h3 class="m-t-none m-b ">
          <vc:i18n name="修改秒杀" namespace="editProductSeckill"></vc:i18n>
        </h3>
        <div class="ibox-content">
          <div class="form-group row">
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='秒杀简介' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-10">
              <textarea v-model="editProductSeckillInfo.prodDesc"
                :placeholder="vc.i18n('必填，请填写秒杀产品简介','editProductSeckill')" class="form-control"></textarea>
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='秒杀小时' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <select class="custom-select" v-model="editProductSeckillInfo.killHours">
                <option selected disabled value="">{{vc.i18n('必填，请选择秒杀小时','editProductSeckill')}}</option>
                <option :value="hours" v-for="hours in editProductSeckillInfo.selectsHours">{{hours}}点</option>
              </select>
            </div>
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='持续小时' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.continueHours" type="text"
                :placeholder="vc.i18n('必填，请填写持续小时','editProductSeckill')" class="form-control">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='有效期内购买' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.totalCount" type="number"
                :placeholder="vc.i18n('必填，请填写有效期内购买次数','editProductSeckill')" class="form-control">
            </div>
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='一次购买数量' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.oneCount" type="number"
                :placeholder="vc.i18n('必填，请填写一次购买数量','editProductSeckill')" class="form-control">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='秒杀金额' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.killPrice" type="text"
                :placeholder="vc.i18n('必填，请填写秒杀金额','editProductSeckill')" class="form-control">
            </div>
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='限量' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.killStock" type="text"
                :placeholder="vc.i18n('必填，请填写限量','editProductSeckill')" class="form-control">
            </div>
          </div>

          <div class="form-group row">
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='开始时间' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.startTime" type="text"
                :placeholder="vc.i18n('必填，请填写开始时间','editProductSeckill')"
                class="form-control editProductSeckillStartTime">
            </div>
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='结束时间' namespace=' editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <input v-model="editProductSeckillInfo.endTime" type="text"
                :placeholder="vc.i18n('必填，请填写结束时间','editProductSeckill')"
                class="form-control editProductSeckillEndTime">
            </div>
          </div>
          <div class="form-group row">
            <label class="col-sm-2 col-form-label text-right">
              <vc:i18n name='状态' namespace='editProductSeckill'></vc:i18n>
            </label>
            <div class="col-sm-4">
              <select class="custom-select" v-model="editProductSeckillInfo.state">
                <option selected disabled value="">{{vc.i18n('必填，请选择状态','editProductSeckill')}}</option>
                <option value="1001">{{vc.i18n('开启','editProductSeckill')}}</option>
                <option value="2002">{{vc.i18n('关闭','editProductSeckill')}}</option>
              </select>
            </div>
          </div>

          <div class="ibox-content">
            <button class="btn btn-primary float-right" type="button" v-on:click="editProductSeckill()">
              <vc:i18n name="保存"></vc:i18n>
            </button>
            <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" data-dismiss="modal">
              <vc:i18n name="取消"></vc:i18n>
            </button>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>